package com.ruoyi.other.service.impl;

import com.ruoyi.other.domain.EPackageTable;
import com.ruoyi.other.mapper.EPackageTableMapper;
import com.ruoyi.other.service.EPackageTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class EPackageTableServiceImpl implements EPackageTableService  {
    @Autowired
    EPackageTableMapper ePackageTableMapper;

    @Override
    public int getStatisticsPackage(String statisticsPackage) {
        return ePackageTableMapper.getStatisticsPackage(statisticsPackage);
    }

    @Override
    public List<EPackageTable> selectTrendList(Integer month, Integer num) {
        return ePackageTableMapper.selectTrendList(month, num);
    }

    @Override
    public List<EPackageTable> selectPackagesList(Integer month, Integer nums) {
        return ePackageTableMapper.selectPackagesList(month, nums);
    }

    @Override
    public int getBoxNum(String box) {
        return ePackageTableMapper.getBoxNum(box);
    }

    @Override
    public int getStatistics(String statistics) {
        return ePackageTableMapper.getStatistics(statistics);
    }
}
